<div class="modal fade" id="contrasenya" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" style="border-radius:0 !important;position:relative !important;">
            <div class="aspa" data-dismiss="modal" aria-hidden="true" style="right:-10px;top:-10px;" title="Cerrar">
                <i class="glyphicon glyphicon-remove"></i>
            </div>

            <div class="modal-header">
                Cambiar mi contraseña
            </div>
            <style>
                td.pass {
                    padding:10px;
                    text-align:right;
                    font-size:13px;
                    vertical-align:middle
                }
            </style>
            <div class="modal-body" style="padding-bottom:0">
                <form method="post" name="pass" action="../logic/cambiarPass.php">
                    <input type="hidden" name="uid" value="<?php echo $_SESSION['uid'] ?>">
                    <table align="center">
                        <tr>
                            <td class="pass">Contraseña Antigua</td>
                            <td><input type="password" maxlength="45" name="passO" required></td>
                        </tr>
                        <tr>
                            <td class="pass">Nueva Contraseña</td>
                            <td><input type="password" maxlength="45" name="passN1" id="passN1" required></td>
                        </tr>
                        <tr>
                            <td class="pass">Repetir Nueva Contraseña</td>
                            <td><input type="password" maxlength="45" name="passN2" id="passN2" required></td>
                        </tr>
                    </table>
                    <div id="noCoinciden" style="visibility: hidden;color:red;text-align:center;padding:5px;background-color: bisque;border:red solid 1px;border-radius:3px;position:absolute;right:7px;bottom:10px;width:110px;height:50px;">
                        Las contraseñas no coinciden
                    </div>
                </div>

                <div class="modal-footer" style="padding:10px;text-align:center">
                    <input class="btn btn-info boton" type="submit" onclick="return comprobarPass();" value="Cambiar">
                </div>
            </form>
        </div>
    </div>
</div>